import request from '@/assets/utils/request'

// 获取题组列表数据
export const getItemLists = () => {
  return request({
    method: 'GET',
    url: '/questions/randoms/'
  })
}

// 题组列表删除事件
export const delItemLists = id => {
  return request({
    method: 'DELETE',
    url: `/questions/randoms/${id}`
  })
}

// -------------------------------------------------临时

export const getitemlsit = id => {
  return request({
    method: 'GET',
    url: `/questions/${id}`
  })
}
